package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * <p>
 * 流程设定主表
 * </p>
 *
 * @author cfz
 * @since 2024-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_FLOW", autoResultMap = true)
@Entity
@Table(name = "BAC_FLOW")
public class BacWorkFlow extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 流程编号
     */
    @TableField("FLOW_NO")
    @Column(name = "FLOW_NO")
    private String workFlowCode;

    /**
     * 流程名称
     */
    @TableField("FLOW_NA")
    @Column(name = "FLOW_NA")
    private String workFlowName;

    /**
     * 序号
     */
    @TableField("SEQ")
    @Column(name = "SEQ")
    private BigDecimal seq;

    /**
     * 是否启用
     */
    @TableField("IS_ENABLE")
    @Column(name = "IS_ENABLE")
    private BigDecimal isEnable;

    /**
     * 报表模板
     */
    @TableField("REPORT_TEMPLATE_ID")
    @Column(name = "REPORT_TEMPLATE_ID")
    private String reportTemplateId;


}
